<?php 

class Admin_Form_OrderAdjustment extends Custom_Form_Abstract{
	
	public function init(){
		
		$this->addElement('hidden', 'orderId', array(
			'decorators'	=>	$this->hiddenDecorators,
		));
		$this->addElement('text', 'adjustmentValue', array(
			'decorators'	=>	$this->elementDecorators,
        	'label'		=>	'Value',
        	'required'   => false,
		));
		$this->addElement('text', 'adjustmentComment', array(
			'decorators'	=>	$this->elementDecorators,
        	'label'		=>	'Comment',
			'required'   => false,
		));
		$this->addElement('textarea', 'adjustmentNote', array(
			'decorators'	=>	$this->elementDecorators,
        	'label'		=>	'Note',
			'rows'		=> 4,
			'cols'		=> 20,
        	'required'   => false,
		));
		$this->addElement('submit', 'adjustOrder', array(
        	'decorators' => $this->buttonDecorators,
			'label'		=>	'Adjust Order'
        ));
	}
}